<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
<!--    <link rel="stylesheet" href="1.css">-->
    <style>
<!--        属性选择器，input中有type属性为text的元素拥有改样式-->
        input[type=text]{
            color: #2a9fd2;
        }
#dd{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 1000px;
    height: 500px;
    background-color: red;
}
    </style>
</head>
<body>
<!--<img src="2.jpeg" height="1000" width="1000">-->
<div style="color:red">
wdafawd
</div>
<input type="text"><br>
<input type="text"><br>
<input type="text" name="sex" value="man">男
<input type="text" name="sex" value="man">女<br>
<div id="dd">

</div>

</body>
</html>